﻿@using LY.Common
@using LY.Entity
@using LY.Interface
@{ 
    var siteconfig = (S_Siteconfig)SerializationHelper.Load(typeof(S_Siteconfig), Utility.GetXmlMapPath("Configpath"));

    if (siteconfig.Webstatus == 1)
    {
        Response.Redirect("~/Default/Error?msg=" + Server.HtmlEncode(siteconfig.Webclosereason));
    }
} 
<!DOCTYPE html>
<html>
<head> 
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="X-UA-Compatible" content="IE=10" /> 
    <title>会员中心</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/fore/foreMasterPage.css")" rel="stylesheet" />
    <link href="~/Content/assets/css/plugin/xjgridnew.css" rel="stylesheet" />
    <link href="~/Content/validform.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
    <script src="~/Scripts/Common.js"></script>
    <script src="~/Content/assets/plugins/xjgrid/xjgrid.js"></script>
    <script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>
    <script src="~/Scripts/Validform_v5.3.2_min.js"></script>
    <script src="~/Scripts/Validform_Datatype.js"></script>
    <script type="text/javascript" src="~/scripts/lhgdialog/lhgdialog.js?skin=idialog"></script>
    <script src="~/Content/assets/plugins/xjdailog/xjdailog.js"></script>

   @* <script>
        $(function () {
            if ($("form").length > 0) {
                $("form").Validform({
                    tiptype: 3
                });
            } 
        });
    </script> *@
</head>
    <body>
        @Html.Partial("_header",siteconfig) 
        <div class="userCenter"> 
            @Html.Partial("_leftMenu") 
            @RenderBody()
        </div> 
        <div class="line10"></div>
        @Html.Partial("_footer",siteconfig)
    </body> 
    <!--自定义的样式和js-->
    @RenderSection("style", required: false)
    @RenderSection("script", required: false)
</html>
